package com.woniuxy.service.impl;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl2 {

    // 定义资源名称为：message
    /**
     * 链路流控保护资源
     *
     * @return 结果
     */
    @SentinelResource(value = "message")
    public String message() {
        return "message";
    }
}
